﻿using CaseManagerLibrary.Socket;
using PSDClientService.Protocols;
using PSDLib.Protocols;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace PSDClientService.Protocols
{
    public class RequestBurnRuntimeProcessor : ClientMessageProcessor
    {
        public override void Run(ClientServiceContext context, TcpClientState state)
        {
            IPEndPoint ep = new IPEndPoint((state.RemoteEndPoint as IPEndPoint).Address, (Message as RequestBurnRuntimeMessage).ManagerPort);

            context.BurnContext.ResponseBurnRuntime(ep);
        }
    }
}
